package com.ervanalb.cellradio.shared;

/**
 * Describes the current state of a client. Used on both client and server.
 * Composed of ControlObjects, so that behaviors may be triggered by
 * modification of any state variable.
 * 
 * @author eric
 */
public class ClientState {
	public ControlObject<String> username;
	public ControlObject<Boolean> connected;
	public ControlObject<Boolean> authenticated;

	public ClientState() {
		username = new ControlObject<String>(null);
		connected = new ControlObject<Boolean>(false);
		authenticated = new ControlObject<Boolean>(false);
	}
}
